#ifndef SERVER_CLIENTE_H_
#define SERVER_CLIENTE_H_
#include "../../Common/Src/Socket.h"
#include "../../Common/Src/Thread.h"
#include "../../Common/Src/HttpRequest.h"
#include "../../Common/Src/HttpResponse.h"

class server_Cliente: public Thread {
private:
	Socket* socket;
	HttpResponse* procesarPedido(HttpRequest* request);
	bool activo;

public:
	explicit server_Cliente();
	virtual ~server_Cliente();
	void setSocket(Socket* sock);
	virtual void correr();
	bool estaActivo();
	void finalizar();
};
#endif
